import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { BaseModule } from './base/base.module';
import { AdminuserModule } from './pc/adminuser/adminuser.module';
import { JwtStrategy } from './strategy/jwt.strategy';
import { PersonalChannelModule } from './pc/personal-channel/personal-channel.module';
import { NewCarClueModule } from './pc/new-car-clue/new-car-clue.module';
import { WxapiModule } from './wx/wxapi/wxapi.module';
import { WxuserModule } from './wx/wxuser/wxuser.module';
import { UploadModule } from './upload/upload.module';
import { WxPersonalChannelModule } from './wx/wx-personal-channel/wx-personal-channel.module';
import { WxNewCarClueModule } from './wx/wx-new-car-clue/wx-new-car-clue.module';
import { PeerCarModule } from './pc/peer-car/peer-car.module';
import { WxPeerCarModule } from './wx/wx-peer-car/wx-peer-car.module';
import { HomeModule } from './pc/home/home.module';
import { CoinServiceModule } from './pc/coin-service/coin-service.module';
import { VipServiceModule } from './pc/vip-service/vip-service.module';
import { WxAppConfigModule } from './pc/wx-app-config/wx-app-config.module';
import { WxpayModule } from './wx/wxpay/wxpay.module';
import { LockServiceModule } from './pc/lock-service/lock-service.module';
import { RechargeRecordModule } from './pc/recharge-record/recharge-record.module';

@Module({
  imports: [BaseModule, AdminuserModule, ConfigModule.forRoot({
    isGlobal: true
  }), PersonalChannelModule, NewCarClueModule, WxapiModule, WxuserModule, UploadModule, WxPersonalChannelModule, WxNewCarClueModule, PeerCarModule, WxPeerCarModule, HomeModule, CoinServiceModule, VipServiceModule, WxAppConfigModule, WxpayModule, LockServiceModule, RechargeRecordModule],
  providers: [JwtStrategy]
})
export class AppModule {}
